projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a4a59
)
(make_lispy_event): If the position is not in a window,
author
Richard M. Stallman
<rms@gnu.org>
Wed, 3 Aug 1994 07:39:40 +0000
(07:39 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 3 Aug 1994 07:39:40 +0000
(07:39 +0000)
at least pass along the frame it is in.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 66b75ea6ea8c242d7d89610ce8e1d82b30b63860..76fba2e35ad797db9b918bcb0f7e6fc9a2b22e13 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-2675,7
+2675,10
@@
make_lispy_event (event)
window = window_from_coordinates (f, column, row, &part);
if (XTYPE (window) != Lisp_Window)
- posn = Qnil;
+ {
+ window = event->frame_or_window;
+ posn = Qnil;
+ }
else
{
int pixcolumn, pixrow;